< previous page page_495 next page >

Page 495
9f8044bafea36a1f728739c0bb58ef4c.gif
2. How should you treat calculated fields with regard to user data entry?
9f8044bafea36a1f728739c0bb58ef4c.gif
Make calculate fields read-only. To provide the user a visual clue, make the background color different from the other fields. Labels are good for read-only fields.
9f8044bafea36a1f728739c0bb58ef4c.gif
3. What's the best way to document the steps necessary to start up an application?
9f8044bafea36a1f728739c0bb58ef4c.gif
Scenario scripts. Every application has an implied use of the system for starting up the system and shutting it down. Although you can certainly have formal use cases for these business tasks, scenario scripts are acceptable.
9f8044bafea36a1f728739c0bb58ef4c.gif
4. What is the relationship between a GUI control event and a controller class method?
9f8044bafea36a1f728739c0bb58ef4c.gif
The events of each of the GUI control on each form have a corresponding method in their respective controllers.
9f8044bafea36a1f728739c0bb58ef4c.gif
5. What is a way to break up a large controller class?
9f8044bafea36a1f728739c0bb58ef4c.gif
Create helper classes for your controllers so that these controllers don't become too large.
9f8044bafea36a1f728739c0bb58ef4c.gif
6. What two packages should you create in Visual Modeler to help you separate forms from controller classes?
9f8044bafea36a1f728739c0bb58ef4c.gif
In Visual Modeler, create a package named Forms and another named Controllers.
9f8044bafea36a1f728739c0bb58ef4c.gif
7. What's the purpose of the Facade pattern?
9f8044bafea36a1f728739c0bb58ef4c.gif
It provides a mechanism for better organizing the interfaces between one subsystem and another. Facades are like faces between subsystemsinterfaces, to be exact. As you create the Graphical User Interface Subsystem, you need to decouple it from the other subsystems with which it interacts. For the Graphical User Interface Subsystem, controller classes perform this role well.
9f8044bafea36a1f728739c0bb58ef4c.gif
8. Can a controller class be responsible for more than one form?
9f8044bafea36a1f728739c0bb58ef4c.gif
Yes.
9f8044bafea36a1f728739c0bb58ef4c.gif
9. How does one form display another form?
9f8044bafea36a1f728739c0bb58ef4c.gif
A form displays another form by invoking the showForm method of the other form.
Day 13
9f8044bafea36a1f728739c0bb58ef4c.gif
1. What security features should you implement in your commercial or industrial applications?
9f8044bafea36a1f728739c0bb58ef4c.gif
Companies expect your applications, if deployed on the Web, to have some security mechanisms built in them to
9f8044bafea36a1f728739c0bb58ef4c.gif
Allow only paying customers into restricted areas on the site geared for premium content

 
< previous page page_495 next page >

If you like this book, buy it!